package com.example.flipanimation;

import android.app.Activity;
import android.os.Bundle;
import android.view.Window;

public class MainActivity extends Activity {

	private PageWidget pageWidget;

	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		requestWindowFeature(Window.FEATURE_NO_TITLE);
		setContentView(R.layout.activity_main);

		pageWidget = (PageWidget) findViewById(R.id.pageWidget);
		//		PageWidgetAdapter adapter = new PageWidgetAdapter(this);
		//		pageWidget.setAdapter(adapter);
		PageWidgetAdapter1 adapter = new PageWidgetAdapter1(this);
		pageWidget.setAdapter(adapter);
	}

}
